package com.example.bobo.yuejian322.Interfa;

import com.example.bobo.yuejian322.bean.Login;
import com.example.bobo.yuejian322.bean.LoginOut;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by BOBO on 2017/10/8.
 */

public interface LoginSeverice {

    @GET("login")
    Call<Login> userLogin(@Query("tel") String tel,
                          @Query("password") String password
    );


    @GET("logout")
    Call<LoginOut> logout(@Query("SessionID") String SessionID

    );
}
